int n; int *numbers; scanf("%d", &n); numbers = malloc(n * sizeof(*numbers)); for (int i=0; i<n; i++) scanf("%d", &numbers[i]);